package cn.shop.admin.entity.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @author jzw
 * @since 2022-01-11 16:35
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ColumnWidth(24)
public class WithdrawExcel {


	/**
	 * 提现账户
	 */
	@ExcelProperty(value = "银行名称", order = 0)
	private String bankName;

	/**
	 * 提现账户
	 */
	@ExcelProperty(value = "开户名", order = 1)
	private String userName;

	/**
	 * 提现账户
	 */
	@ExcelProperty(value = "银行账号", order = 2)
	private String account;

	/**
	 * 提现金额
	 */
	@ExcelProperty(value = "金额", order = 3)
	@NumberFormat(value = "#.00")
	private BigDecimal amount;

	/**
	 * 提现金额
	 */
	@ExcelProperty(value = "身份证", order = 4)
	private String idCard;

	/**
	 * 提现编号 id
	 */
	@ExcelProperty(value = "提现编号", order = 5)
	@NumberFormat(value = "#")
	private Long id;


}
